Here's why:
* Close (rhymes with "hose") means to shut or to be near. Example: "Close the door."
* Close (rhymes with "goes") means near in distance or time. Example: "The store is close to my house."
Since these two words sound the same but have different meanings and spellings, they are homophones.