You see the three times that Castile was asked to not reach in his pocket before officer Yanez even unholstered his weapon? That's called reasonable doubt. As soon as the first request to not reach was made, Castile should have stopped moving. In fact, Once he announced that he had a gun he should have asked the officer how he wanted to proceed.