The more Habitats you build of a certain element, the higher the price will be for each Habitat of that element.
Elements unlocked in the later stages of the game will also come with more expensive Habitats than those for elements found earlier in the game.