Why was curacao attacked during world war 2?

They were attacked by Germany, German Submarines...READ Theodore Taylor "The Cay"