I agree with the answers already given.. and once the plastic/rubber? has melted, an internal short is likely to happen, and so you get a ground fault..
just because amperage has passed thru a connection yesterday, is no indication that the connection is capable of carrying the same amperage today..
without the proper circuit protection, this assumption will eventually lead to a fire...and does too often, as a bad shore power connection is the leading cause of marina boat fires.
admittedly, the humidity and corrosion factor is many times greater in that enviroment which amplifies the poor connection, but its still the poor connection that causes the heat.. and the heat leads to the direct short/fire.