On the generation of internal solitary marine waves