Greek/ancient gods were meant to be a relatable kind with faults and everything. They were not omnipotent or there such. This enables much more compelling stories to be told.
It's similar idea with the evil gods of ancient Mesopotamia. Unlike in most religions where evil deities tempt humans to commit evil acts, evil Mesopotamian deities represent the evils of humanity.