Stained teeth

Li

My teeth used to be white but since becoming pregnant they have dark spots and look yellow! I brush my teeth twice a day, use whitening toothpaste but I’m wondering whether it’s hormones or my pregnancy medicine what’s causing it? Anyone had this too? X