Gordon freeman attacked the Combeins because the Combeins were bad and attacked the hummens. Because they were Robots and they were evil.
Suddenly a Combein saw Gordon and Yelled "I AM GOING TO ATTACK YOU BECAUSE I AM AN EVIL ROBOT COMBEIN AND YOUR JUST A STINKY HUMMEN!"
And then Gordon turned into a poptart.