Black's threatening 1...Qxb2+ 2.Kd1 Qc1# (among other things). Your first proposed move, 1.Qd2, is impossible because White's e2-pawn blocks its path.