Maybe the octopus was just annoyed by the woman and wanted her to stop.
My guess as well, though it could also be that it was "playing with her," or even trying to figure out what she was doing, though octopi are extremely shy. I've seen stories about how intelligent and inquisitive they can be. But most likely you're correct.
Mark