no soda or juice ?

my first doctors appointment with my obgyn they told me I couldnt drink juice , soda or gatorades . its weird because with one of my friends the doctor didnt tell her that until she was like 6 or 7 months pregnant and I feel like its because im 15 pounds more than I should be for my height but before I got pregnant I wasnt chubby I just had a little bit of a muffin top . I weighed 150 and my friend weighed 115 before she got pregnant . its kind of hard giving these things up but if its for my baby to be healthy then so be it . But does anyone know if it was because of my weight ? I was told this when I was 8 weeks and Ive actually lost weight instead of gained . I havent stopped completely but I have cut back on the soda and juice