Why did greek have so many gods and goddesses?

that is like asking why do some people have so many family. all the greek gods are related in some way or another. they are family.