Breasts have fat
Breasts have fat, which makes them soft.
A woman's body does not know that she wants to lose fat only in certain parts of her body, but keep fat in other parts of the body. So, getting slim means losing fat overall, including breasts fat. Only occasionally does a woman come along who has a skinny body but naturally large breasts (she's just made that way).