Periods are really weird things and anything could be disrupting it, the meds, the weight loss, hormones, sex, stress from being ill. Anything.
i wouldn't worry about being pregnant because i don't think you are. As always, better safe than sorry so take a test to make sure