Volcanic mega-eruptions are caused by buoyant magma which rises like bubbles in soda, new research suggests.