Question: bird is knocking on window?
Answer: The most likely reason for this behavior is the aggressively territorial nature of some birds—especially during nesting season—and the reflections in your windows. ... When resting, a bird sees its own reflection in the glass, perceiving a rival bird. And that means it's time to defend their territory.