Just curious

Faith
I was told recently to not drink anything with caffeine a week before I start my period. I asked why and the person who told me never said why. Can anyone tell me why? Thank you in advance :)