Athena does not punish Poseidon for the crime he committed, Athena turns her wrath towards Medusa and punishes her for the desecration of the temple.
Athena empowers Medusa with an important new role, catalyzing a systemic change in which the hierarchical world of gods and mortals is turned upside down