Impact-induced bubble interactions and coalescence in soft materials