See my post below. We had a gas tankless and it would shut itself off when the water pressure got too low. Gas is not the answer, either.
You had a defective unit with a bad sensor or something. Very unusual.