At 250 hours on my BX I believe I have gone thru dozens of stalls, I blame the small fuel filters for 3/4 of my trouble, with sometimes only 10 hours on one. Also I have deduced that the factory fuel pumps seem to lose pumping pressure rapidly. Dropped to 3 psi, while the ones I now use put out 6 psi. Yes it runs, but not enuff to do any work. Also, going up hill you lose some of the gravity advantage for fuel pumping.
I ordered fuel pumps via e bay and used this part number HEP-02A. Mounting slot on one side needs widening. Got prices going from $10 and up. Mine came from Hong Kong free shipping only $18. It is a somewhat different design than originals. From the Kubota dealer factory pumps cost about $150.
I also went to U tube and did what a Canadian did to install a larger first fuel filter outside the frame. A little searching you will find him with his many videos. The filter is for a Grand L. However originals no longer made so a replacement works 15521-43015 from M& D appliance. From Messic's cartridges are 15521-43160
I yanked out my fuel tank along the line and did the cleaning, not finding anything in it, making no difference.
Good luck.