I think this is just because of the pill. While it is possible, very rare though that his sperm, if he even ejaculated, entered you while rubbing, that's about 5% possibilitt. Don't stress, the stress delays your period :)
Sounds ridiculous but I'm legit stressing about this.