If the lights inside are able to move against the clear outer lens they may not be tightly screwed into the casing. When I took my rear lights out to fix the condensation problem I removed 3 screws in the back of the plastic casing to allow the moisture out before sealing and refitting them. You don't need to remove the lights to check, you can get access from inside by pulling back the boot carpet and check those screws are tight.