I had to pull my bulkhead connector off also due to it pulling away from the wall of the RV. I noticed that it was not properly installed also. I resealed it, put bolts and nuts on it (stainless-thank you Lowe's).
That looks like the "usual" wire they put in RV's designed to carry more like 20 amps than 30! I would have replaced that will something a little more hefty-although it's 12 AWG that you have there (by the color of the sheath). - but that's just me.
Congrats on your new RV and WELCOME
to the forum!
forgot to add... make sure you really seal that against the wall -NOT SILICONE_..