So, neither of the officers testified they saw a gun in his hand.
They testified to the actions they observed Davila perform, which included what they, at the time, thought was a gun. They didn't have the convenience of weeks of conjecture before they acted on what they observed. They had seconds.