North Korea has fired two ballistic missiles, with the second potentially failing and exploding, possibly scattering debris inland.