Nothing about these gains are imaginary. Imagine this person rented the entire time instead of buying. They did buy, so let's imagine they decided to sell today and rent instead. How did they just convert those imaginary gains into real ones?
Yes, every other homeowner is sitting on the same gains, so relative to them, it feels like nothing has changed. But relative to the non-owners, you have been given a free handout of wealth. Which you are « consuming » by staying in the same house you were in before.
If the rent has gone up, then your house you live in is now producing 2600 dollars of value per month rather than 1700 (even though it feels like nothing has changed to you)