Lenses that cost a lot have more intricate optical designs and make fewer concessions in their performance. As a result, creating them is an expensive endeavor (a lot of money goes into R&D). Glass elements and coatings are also used, which adds to the cost. Some glass components are more expensive than gold!