Quoi -What Porquoi - Why You teacher is correct. They aren't interchangable. You could ask the similar questions but change these words and you will get very different answers.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.