~ひょうしに(~拍子に)   => the moment [A], unintentionally / inadvertently caused something to happen N1
出す => to begin to; to start to; to burst into; ... out (e.g. to jump out, to carry out)​ N4