It was probably that. He failed in his responsibility, but he was also acting arrogant about being able to cook the meth like he was able to resolve his mistake. I think he just frustrated Gus. It could also possibly have something to do with the fact that he was seen at the crime scene.
Or Gus...