Is he displaying at the window, Sylvie? If so, he sees his reflection--break up the reflection and he'll stop fighting himself.
One way to do that, if you don't mind not having a clear view for a while, is to soap the outside of the window. Once the robin has moved on, just rinse the soap off
Or are they building a nest somewhere nearby?