You have a loose wire connection on your circuit breaker box that is located underneath the refrigerator. I had the same exact issue with my RV. If you want you can take the cover off the circuit breaker box and tighten all the binding posts and that should fix it
__________________
|