Passing out during anal

I was having sex with my boyfriend last night and we was in complete darkness and accidentally, he put his penis fully in my asshole. I reacted quickly as it was unexpectedly telling him it hurt as he didn’t realise he did it and not long after he took it out, i passed out.

Has anyone else passed out during anal?

And

Does anyone have any ideas as to why i passed out?

Thanks xxxxx