Your mom probably knows it's for you, but is waiting for you to step up and admit it. Tell her the truth so you don't get the other friend in trouble.
If you are trying to lose weight, talk to your mom about this. Perhaps she can help buy other foods that will be helpful for you and not buy any junk food / soda to have in the house. Walk at least 30 minutes every day and drink a lot of water.