Bacteria on the gills of these vesicomyid clams provide energy for both themselves and the clam (the shrimp may just be resting).