when I use dist selename, select1, select2, mode=2

which produced one hydroge bond between oxygen of residues with anothe oxygen of phosphate groups.

I wonder,

Which reason cause dist recognize the O-O forming hydrogen bonds in pymol?

Another question, are there some simple ways to just get those contact residues output into a file simply, without examine one by one using eyes.

Thanks for any answer,