OK. It could be a clogged vent.
I assume that you have two valves to select tanks, one for each motor. If so try setting one motor to aux and the other to main and see what happens. Than reverse the valves and see how that works As suggested run with the cap off to see if that helps. The more full the tank, the quicker a clogged vent will cause fuel flow issues.
If you have a separate tank vent ( you will see it on the side of the hull, take a look to see if the opening is plugged. If you have a combo fill/vent arrangement, trouble shooting is a bit trickier , There is a check valve in the cap. I don't know your boat's history but if this problem was there all along and you just didn't get to test for it, it is possible that someone replaced the filler cap with the incorrect model ( that is a non vented cap screwed into a combo fill/vent fitting. .
There are other causes for fuel starvation but in most cases, the motors don't die at the exact same time since the causes usually don't occur at the same time ( e.g, air leak, bad valves, stuck anti-siphon valve). If the vent line had been replaced and was run with a low loop, it can collect liquid gas or water in that loop. The suction of the motors may not be strong enough to clear the vent live and starvation can occur. In that case, the open gas cap should tell you that there is a vent issue
One final comment on the fill up. If there is a venting issue, when you fill the tank, the nozzle may shut off over and over, making you think the tank is full but it may not have been. If the fuel level is low, by adjusting the hull angle may make the problem show up or go away. On plane, the tank is more level and the overall gas height near the pickup is shallower than when the bow is up as when displacing.