The logic of making profits, either from a workplace or from a residential real estate, is about the same.
In a workplace, either you have no power of conducting resources, meaning yourself is used by others, or you have that power then you will make profits from the resources you wisely deploy. Pertaining to a residential real estate, either you have a pricing power for a reason, which makes profits, or you lose that power to the market, resulting in a loss.