Bunions are caused by a change in the angle of the first bone in the foot that leads to the normal muscle activity of the foot pulling the big toe towards the second toe. This can be due to hereditary factors like the joint angle or due to certain types of shoes.