Religious people associate homosexuality with immorality and lust, and everytime they show lust for each other, it attacks them. What happened here was not lust, but rather genuine affection.
That is why it was also impossible for the entity to go near them at the final scene.