Birds grazing a car window can have several meanings. The bird may be displaying territorial behavior, perceiving the car as an intruder. It might also be attracted to its own reflection, mistaking it for another bird. Curiosity, interest in food such as insects on the glass, or simple investigation can also explain the behavior.
Individual personality, environment, and learned behaviors all influence how birds interact with car windows.