Please choose the correct answer to the question: Octopuses excrete an ink as defense when

Answer1: They're in danger Answer2: they are flying Answer3: cooking Answer4: never

Answer format: answer1/answer2/answer3/answer4
Answer: answer1