My breastmilk is causing cramping on my 1 week old baby! Please help!

Hi ladies! A first time mom here! So my baby is 1 weeks and 3 days today! I been having concerns about his feedings sections since the beginning. While at the hospital they said I wasn’t producing enough milk for him and that I was starving him, so they gave me formula for him. So since then, I been giving him formula when I don’t produce more milk and he still Crying for more. He eats 60mL-80mL! I don’t know if that normal for his age and size! When he was born he was 8.4Lb 21in long now he is 7.6Lb. Sometime he would latch normally and sometimes he would have trouble staying on my boob and he would cry while breastfeeding! I have noticed that he would cry uncontrollably and nothing will calm him down, he make his stomach hard (like pushing) and he Sounds like he is in pain. His poops are yellow but liquid with little balls, idk if I should be concerned about that, but what I have noticed that he poops right after bottle feedings but that the only way he would get full and satisfied. Last night I gave him only Brest milk and now he just wouldn’t stop crying and idk if is something that I been eating! And I been eating clean foods😢 I get a little stressed out and sad because idk what to do to make him feel better! If you have any experience like this please let me know what you did to help your baby!