call me naive, but it has been my impression that Facebook ads are never that sophisticated. He liked a gay-friendly post and then he got served a gay-friendly ad that happened to be about coming out.
To put things into perspective, I told Facebook seven or eight years ago that I was gay and it hasn't stopped serving heterosexually-oriented dating ads in the mix ever since, presumably because a filter on "male NOT currently in a relationship" is close enough...