Unfortunately, the bulb is well secured in it's place. It's the reflector that bounces, and yes, propably it's the height adjustment motor that is disturbed. The question is, can this be fixed with the headlight on the car? I assume impossible. Have you ever fixed that kind of problem before?OK, it seems the lamp is not loose but the reflector inside is not fully attached. It may even be the electric height adjustment motor was disturbed and is not securing the reflector properly.
Take the bulb covers off to see where the problem is before deciding you need to remove the bumper and headlamps before removing the headlamp lens. In any case, the lens is not intended to be removed. It can be done though.