Gordon actually had Jedi powers, so he levitates the small jar in front of his face
Because the turret can't make eye contact, it doesn't notice the armored human being standing right in front of it while having a small jar hover in front of their face