How can I fix my rudeness to my parents?

I bought bread when I got home and my parents noticed it I said its for my coworker its 5 actually I was about to give it the other to my mom. She asked if I got salary already because I bought it she's just surprised because I dont have money. (And its my first ever office job maybe she's just happy to ask if I got salary?) I replied they should mind their own business. But I still live with them and they help me financially before I was unemployed and up til today for bus fares. I got a job and my mom even wash my own clothes, iron them , cook me home made meals to bring to work so Im sad cuz I said that. I offered my mom a bread but she doesn't like to eat it because I was so rude. :'( Im just sad. I can't stop thinking what I did.
Updates
14 d
Yeah I regret being rude to them Im so sad :'(
How can I fix my rudeness to my parents?
Post Opinion