Everypony can't be immortals. How would the world have enough space if the population kept growing, but no one died? The moon would eventually get crowded too...
Anyway, it's a show targeted for little kids. The ponies may not live forever, but of course they won't let them age as long as the show runs.