Houses and apartments are expensive because of high demand. More people are moving to cities, which increases the need for housing. Also, there's limited land in popular areas, so prices go up. Many people see real estate as a good investment, so they buy properties hoping to make money in the future. This all adds to the demand and pushes prices higher.