As shown in this diagram, we have electromagnetic interaction between the oxygen and the H. And what this does is it basically positions this entire side chain of histidine, 157, in the correct orientation so that the next interaction can take place.