I am having the same issue (case opened at https://www.ads-software.com/support/topic/lightbox-displaying-images-from-multiple-galleryes/) and I suspect it’s the same.
If FooGallery is opening a lightbox that’s included with your theme, multiple galleries on the same page will load all images into the same lightbox, which is a total pain.
If, however, you install FooBox and set each gallery to open in FooBox, then they will be segmented properly. You’d have to manually disable your theme’s lightbox or try FooGallery’s setting to disable it.