Amazon interview question

What's the difference between discriminative and generative machine learning?