Tantra is Hinduism’s rebellious branch. Only later was it appropriated by other Eastern religions, and is usually presented in this updated way to the West.
In The Gospel of Philip, the divine force between two people is explored through a sexual union as it is in Tantra, and not just by a platonic connection.