with investments the cost of the investment is deducted from the gains.  In the US they allow costs to be deducted in the period they are incurred.   That has it's own distortions on purchase decisions and finance decisions.
.
Our system encourages homeownership and a reduction on debt on a principle residence.  Those are both good things