Front wheel shifting left on braking with new front shock and fender install I have a specialized turbo electric bike and just had the shop put in a rock shox paragon front suspension.  They didn't have the rotor size adapter for the disc brakes so they swapped my 180mm rotor with a 160mm rotor.  They put my old fender on my new shock as well.

Riding it home I noticed that when I brake, there is a noticeable hard shift of the wheel left (to the disc brake side).  It's all the more noticeable because I can see it move in relation to the fender above it.  It looks like it's shifting 5-10mm.

Is this normal?  Is it an optical illusion and it's the fender that's moving and not the wheel?  Is the disc brake pulling the wheel over?  Did installing the fender cause it?  Is it caused by the replacement of the rotors?

I'm a bit at a loss to figure out if it's a problem and how to diagnose.  I suppose I can undo the fender and then do some other things one step at a time but I wonder if there's an easier way to diagnose other than taking the parts off one at a time.
First thing to do is check if the wheel is actually moving in the fork, or that the fork has slop or play in it.

Stand next to the bike, hold the bars, apply front brake and try to move the bars side-side and front-back. If you feel slop or play, don't ride it and take the bike straight back to the store that did the installation and have them fix it.

It may be that braking is causing the fork to bend slightly and move the wheel left. You could also take the bike to the store, show them the problem  and ask them to check their work.