How? We don't know, magic, gods, fate, so many things could be the cause but that's not the point. Alicorns are very rare when you compare them to the population of all ponies, so are they aberrant ponies? Or unique ponies? They do have traits from all ponies.