Yes, but neither does paper. Modern sealed phones are probably more water resistant.But electronics does not like humidity and mud.
The risk is why I take 2 different models. Through painful experience, I've learnt to save things to SD card and not rely on internal storage.