"What do you do?" and "How do you earn a living?" are different questions and it's on you if you confuse them.