Glare node, why is the glare in front of other objects?
Nothing is wrong, that's how glare works.

In real life, lens glare (or flare) is an effect produced by a camera or your eyes when looking at a very bright spot.  It is caused by internal reflections and defects within the lens.


Image by cmwphotography.

Those streaks are not physical things in 3-dimensional space emitting light, they are introduced by the camera, so they can't appear behind anything, they are introduced onto the image within the lens.