Rene is on point for the first thing to check.
I assume this is a 120V residential fridge?
For me , #2 is how much power is actually getting from the truck to the FW batteries? When the fridge quits, are the batteries depleted or charged?
If properly connected, the truck sends any EXTRA power not needed by the truck to the FW. Power to the FW is further limited by the wire gauge and distance (length of wire) from the truck alternator to the FW batteries, and any losses in the connecting plugs. These things can be addressed, but first see if this is the problem.
#3 is if the fridge was cold to start the day, it should still be cold 6 hours later if the door is left closed. Is the fridge warming up?