wealthy

The reason why men’s and women’s shirt buttons are on opposite sides is likely due to the extravagance of the upper class. When buttons were invented around the 13th century, only the wealthy could afford to have them on their clothes, and wealthy women were dressed by their servants, so clothiers started sewing buttons on the other side to make it easier to dress the lady of the house. Source Source 2