Which classical playwright wrote the drama Electra and often portrayed the Greek gods as cruel beings?

A.
Euripides

B.
Aeschylus

C.
Sophocles

D.
Aristophanes