I wonder why galaxies tend to be shaped like a disc rather than a ball. Doesn't really make sense to me.
Those further out would tend to collapse towards the equator and eventually that initial ball would become more disk shaped.
Then there is this explanation refering to the conservation of angular momentum: https://van.physics.illinois.edu/ask/listing/18318
If everything were twice as close to the axis (as gravity would like it to be), it would need to be moving twice as fast to conserve rotational momentum, but that's faster than the velocity of a circular orbit at the new radius (assuming everything was in a circular orbits to begin with).
The same principle is why almost everything in the solar system approximately lies within a plane.