Why is iceland called iceland if its green?

When vikings discovered the lands known as Iceland and Greenland today, they wanted the land for themselves. Other peoples heard about their discovery and wanted the land, too. The vikings decided to trick people by naming the cold land "Greenland" and the green land "Iceland" so people wouldn't want to invade what should really be called "Greenland."