It's impossible to pinpoint a specific individual who "discovered" them. Ancient civilizations around the world, including the Babylonians, Egyptians, Greeks, and Chinese, all had detailed observations and explanations for the lunar phases.
While we can't definitively say who "discovered" them, we can say that the understanding of the Moon's phases is a product of the collective knowledge of humanity over centuries.