Refrigerator and wall socket next to it went out at same time
Nearly all failures of this sort are a connection failure in an outlet box at or upstream from the failed outlet. As stated many times here, back stab outlets are notorious for eventually failing.   Cable failures inside wall are extremely rare but can be caused by rodent damage or physical damage like drilling to a cable to hang something on the wall!
Best approach is to determine which circuit the failed outlets are on, turn off the breaker and start pulling outlets and examine them.  While doing that, if they are back-stabs, it's a good idea to either reattach the wires using the screws or if old, just replace them with a good quality outlet (not the 79 cent specials)!