Why did the Maya build pyramids?

to show off their wealth
to create a relationship with their gods
to provide places where people could gather