You never asked them out, and now they’re posting pictures with their significant other. Sometimes it hurts to ask, but unless you have a preexisting friendship that will be put in jeopardy what’s the downside?
Rejection is part of a well-lived life, imagine never hearing no, it’d mean you never tested the boundaries.
If it’d hurt to see them go, then you owe it to yourself to try.