Reminds me of that video of the two fish spitting sand at each other. One is digging a hole by spitting sand out, the other spits sand back at it just because.
Apparently that's common behavior for all fish, not just octopuses. Here are 2 fish, each borrowing their own tunnel, and each spitting on each other, trying to block opponent's tunnel: