Pull the rim strip and check for cracks between the spoke holes on the inside of the rim. Wide mountain bike tires can push outward on the rim and cause it to crack. The result is a rim that seems sound without load but can be out of true when the rider sits on it.
You might also check all of the spokes to ensure that you don’t have an overly loose one (or 2 or 10)