Why is Philippines an earthquake country?

Because it is located on the boundary of two tectonic plates the Filipino plate and the Pacific plate. Where two plates meet is where earthquakes, volcanoes etc occur.

click on 'related links' below to see a picture of tectonic plates.