Elasticity of a market is a scale. Elastic markets quickly adjust demand or supply while inelastic markets require a lot of time if they change at all.
Housing on the supply side is relatively inelastic when compared to other markets. Even if demand is high it might not quickly lead to new construction.
On the demand side the market is also relatively inelastic as moving has a lot of friction compared for instance with not making a luxury good purchase or postponing a holiday.
Ebbing and flowing is a typical effect of inelastic markets.