Slow motion and high resolution don't reveal what was going on at the moment in the mind of the cop. I'd bet anything, the cop was sure that the gun was still in the kid's hand.
To me, at 2:04 of the 1st video, it looks like he has his right hand in the front pocket of the hoodie. Turning with is hand there, and the cop knowing he had/has a gun, means that the officer has to make a split second decision. The kid could have had a gun in the pocket.
If the cop does not defend himself, he may not be going home at the end of his watch. If he does protect himself, he could kill an unarmed kid. It’s a tough choice. Total respect for the job.