It goes out
Fire goes out.
well it cant if there is not enough of air it will not light but if there is to much the balance goes wrong and it goes out
The flame will go out.
The candle will go out, depending on how large the glass is. It will go out because fire needs oxygen to burn and there's a limit to the oxygen in the glass.
Spooky Chocolate Candle for Halloween
Holiday Candle Tips
How to Use Candles Outdoors
How to Use Candles Effectively