Microwave directly affects the food center through radiation. So glass can be used as a container for transmitting rays, but metal containers can't.
The oven mainly acts on food through heat conduction. Put the glass basin in the oven, it will crack first. Only metal containers can be used in the oven.