They form eddies and whirlpools because of the presence low and high pressure areas and the Laws of Fluid Dynamics.
Spirals in Space form because of the Laws of Physics and Gravity..............
Here is a whirlpool galaxy.... depends on your point of view.
https://tinyurl.com/m4uhjb7t