Dividing a float by zero is usually perfectly valid. It has predictable outputs, and for some algorithms like collision detection this property is used to remove branches.
(This isn’t to say it’s always wrong, but that having it be an error state by default seems very reasonable to me.)