why we must to use the prepositions in end question;
-what do you believe IN?
-what you waiting FOR?
-these is the dreams are made of!
It's not a rule; you can put the preposition at the beginning:
In what do you believe?
However, this is more formal.