But Samson's wife was [given] to his companion, whom he had used as his friend.
It was after Samson had paid his debt of 30 garments that the text says he became angry. The object of his wrath here was his "wife," not the Philistines. Samson did not intend to abandon his plan to marry the Timnite (Judges 15:1-2). He went back home to let his anger cool.