Why are there four combinations فَعَلَ، فُعِلَ، مَا فَعَلَ and مَا فُعِلَ?

Complete Past-Tense Paradigm: Active, Passive, Affirmative and Negative