WEAVERVILLE, Calif. – Not only is there no such thing as a free lunch, an eighth grader found out the hard way there’s no such thing as a shared lunch, either.

ABC 7 reports Kyle Bradford, an 8th grader at Weaverville Elementary School, shared his chicken burrito with a friend who didn’t like the school-prepared cheese sandwich he was given by the cafeteria.

MORE NEWS: Know These Before Moving From Cyprus To The UK

After all, friends share.

“It seemed like he couldn’t get a normal lunch so I just wanted to give mine to him because I wasn’t really that hungry and it was just going to go in the garbage if I didn’t eat it,” the 13-year-old tells the news station.

But the Trinity Alps Unified School District has banned the sharing of food, citing food allergies. The student received detention.

“We have a policy that prohibits students from exchanging meals. Of course if students are concerned about other students not having enough to eat we would definitely want to consider that, but because of safety and liability we cannot allow students to actually exchange meals,” superintendent Tom Barnett says, according to KRCR.

Kyle’s mother defended him, saying her son is being punished for his “good manners.”

“By all means the school can teach them math and the arithmetic and physical education, but when it comes to morals and manners and compassion, I believe it needs to start at home with the parent,” Sandy Bradford tells the news station.

MORE NEWS: How to prepare for face-to-face classes

But is it really about allergies?

Back in 2012, a Montana cafeteria employee told EAGnews that seconds were banned, and that wasn’t the only new order issued in the new federal school lunch regulations.

“We’re told we cannot serve seconds, that we cannot save leftover food for the next day. We must throw it away,” our source said at the time.

“What a waste for hungry kids who aren’t getting enough to eat to begin with,” she said.

Surely the lunch regulations championed by Michelle Obama didn’t have anything to do with Weaverville’s policy, did they?