Lobsters flee from predators and fight and occasionally kill one another, sometimes even employing their large claws as clubs. The also have the sensory ability to detect information from their feelers and to know when they’ve made contact with the ground or torn flesh free from their prey.
It’s funny that the only animals that anyone ever supposes don’t feel pain are those incapable of visibly registering it, such as fish and shellfish. I would imagine that if these types of creatures had expressive faces and/or vocal ability you’d find that they feel pain aplenty.
They are pretty smart too, or at least smarter than given credit for. I once observed a little battle going on in a fish tank at Wal-Mart where a minnow-sized fish was trying to overturn a crab whose body was about as big around as a quarter. The crab had initially seized another minnow-sized fish and was casually ripping off and eating parts of the the fish’s tailfin. Eventually the fish broke free, and raced to the surface to gulp air. At about this time one of its brethren decided to take action and began taking running starts to dart underneath the crab and try to flip it over. The crab, for its part, would turn to face the fish with its largest claw held high in an attempt at intimidation. The fish would dart from a sufficient distance to build up enough speed so that it couldn’t be grasped, and the crab was able to extend its legs enough to let the fish pass without quite knocking it over. I saw this little scenario take place three or four times before I had to leave and I don’t know who eventually won, but I would imagine the fish did because the crab was having a hard time staying upright and had no realistic chance at catching the fish.
That episode taught me that even tiny little fish are capable of observing danger and taking intelligent steps (it obviously understood enough of physics to know that swooping under the crab at high speed would make it virtually impossible for the crab to catch it and would also likely result in the crab being overturned and rendered helpless) to deal with it.
Another time I observed a wasp go into absolute panic when it returned to the location of its nest and eggs only to find them missing. I was painting the exterior trim at my parents’ house and had removed the nest and thrown it away, and was working about eight feet from the spot where they were when the wasp returned. It absolutely went crazy, buzzing around and around trying to grasp why its nest and eggs weren’t where they were supposed to be. Oddly enough, it didn’t seem to equate me with the problem and never came near to attacking me, and I actually found myself feeling sort of sorry for the little creature.
All in all, I think most living creatures above the bacterial stage are much smarter and feel more in the way of pain and emotion than we like to give them credit for.