Sometimes buying a house causes you to take out a mortgage.