Two strong magnets set to attract each other (N,S poles facing each other), brought from a distance apart, pushes each other sideways first then on closer proximity attract each other.
I have always wondered why attracting magnets go sideways but I can move them to be perfectly aligned after they are stuck together.
Have a nice day.