I USED to lose rear lights, but it was from the clip breaking off when mounted to the seat bag. Turns out the issue was the vibrations and being soft-mounted, perhaps aggravated by the clip baking in the sun during rides. After mounting then on the seat stays (solid mount), no more lost lights (3 yrs and counting).
Now, any light that I might clip to the seat bag stays in the bag until dusk.