You may have invaded his personal territory, a section it feels overly protective of. They generally won't go after something larger than them for food, but they will defend themselves. Snake heads are particularly nasty little fighters, and will do what it takes to feel safe.
Best of Luck!