Hi all! I’m wondering if this happened to anyone else because it honestly caught me off guard and I never heard of this happening before

I was at the Boston Logan airport with JetBlue and while walking through the tunnel (sorry if that’s the wrong term) between the gate and the plane 2 agents “asked” to take a photo verify my passport. I found it odd that they asked in the middle of the tunnel as they already take photos at security and the agents only had phone with a uniform, no sort of station at all. Has anyone else been forced to have a photo taken after security?