Three flags

Hello, can you help me identify the two smaller flags on the sides in this picture? I suppose they are somehow related to the US flag on top…

US navy flag on the left and Marine Corps flag on the right.

Nailed it in one.

Thanks!