Athena is the godess of wisdom and war. Given the events that were happening in Ithaca, where Penelope's suitors were planning to take on the throne, she wanted Odysseus to get his revenge and kill them all. In order to do that, she inspired the suitors to behave even more poorly so that would anger Odysseus even more.