The gravitational force between two bodies is
never attractive
always attractive
attractive or repulsive
always repulsive
Unlike gravitational force, magnetic force can be attractive or repulsive in nature.