Mac, as an 8-year old kid, is well-known for being reasonable, creative kid. He is also well-known for his complete and total inability to handle sugar in any capacity. He turns into a rather rabid-like creature who seeks out sugar and other sweets to fuel his relentless rampage.
Somebody REALLY should’ve told Pinkie that before she made him eat those cupcakes.