Where you used smell as a noun, I would change it to scent - also, it sounds more natural to say "Why do they have to smell so good?," referring to the cookies and not their scent/smell (e.g. "The wind carried the scent across the yard. People could smell the scent of freshly baked cookies - why do they have to smell so good?")