Because it costs a lot of money to buy a house with enough room for 2 separate offices. Paying for that if you have no reason to believe you'll ever need it would be well into the stupid range for most people.
You need a place to live now. You can always sell it later - perhaps at a profit, perhaps at a loss - but a place to live optimized for your current conditions will let you save up money to buy a better place later, that will be optimized for your future conditions.
Prior to the pandemic, if you and your spouse both had jobs where you worked in company offices, then paying extra for a house that would support home offices for both of you is a huge expense. If you think every couple should do so just because they might both need to work from home some day, then you seriously overestimate how much extra money most families have available. Or underestimate how much money those extra rooms add to the cost of a house.
Because it costs a lot of money to buy a house with enough room for 2 separate offices. Paying for that if you have no reason to believe you'll ever need it would be well into the stupid range for most people.