A UK-registered cargo ship can be seen partially submerged in the Red Sea after it was hit in an attack.