Some of the old submersible well installations did not ground the well pump motor nor did they ground the well casing. They said it is better not ground it, it protected the pump from lightning hits. The newer codes require the well and casing to be grounded.