There are nuts attaching the struts to the fenders in plain sight. Loosen, make straight and centered, tighten, done.
If they are not rubbing and are secure like that, perhaps the installers did that intentionally. I would leave it if this is the case.