Think about it, if you were trying to save your home, you'd anything to do so. He is skill full and wise everything neccesary to be a Prime and a kick-ass warrior.
Yes he killed Ironhide, he probably panicked because the secret was out and needed a -granted terrible- distraction to get way.