Why did they celebrate the first Thanksgiving?

The Pilgrims celebrated the first Thanksgiving in 1621.