I may have fallen for it the first time I played the game. While Barret tells you it will counterattack if you attack while the tail is up, he only tells you this after the line "Attack while it's [sic] tail's up!", after which it's entirely feasible for a player to have input an attack command. Since it's been years since the first time I played through, though, I can't remember for sure.