Telling secrets causes harm.
Loose lips = a person who reveals secret information (the information passes too easily from their lips)
Sinks ships = the enemy gets the information needed to harm the fleet.
As a metaphor, revealing information that you should not share can hurt people or disrupt things.
Student or Learner