@Hyolobrika IIRC the history goes back to which side of Parliament you sat on.
To put it overly simply, left-wing ideas promote collective equity (rise or fall together) while right-wing ideas promote individual freedom (to succeed or fail). It is possible to be one type on social issues but the other type on economic issues.
I am right-leaning socially, left-learning economically, for example.