Some spiders do.[1] They protect their own and viciously attack outsiders. People are terrified when they see a single massive huntsman spider--imagine 300 angry ones coming at you because you offended one of their friends.
And related to the main topic, I've sat bored at work and watched a jumping spider prowl around the office. It was initial terrified of me, and would face directly towards my face and follow my head around to see what I was doing. When it eventually realized I wasn't a threat, it continued prowling. I watched it often stop, gauge a distance, and squat a few times trying to find the perfect angle and location from which it could successfully make a jump. Sometimes getting it perfect, and sometimes failing, pulling itself up by its web, and trying again. Learning through trial and error seems to definitely cross the bar of intelligent life for me.
It also later directly approached me (after having earlier avoided me) and started crawling on my hands as I typed.
And related to the main topic, I've sat bored at work and watched a jumping spider prowl around the office. It was initial terrified of me, and would face directly towards my face and follow my head around to see what I was doing. When it eventually realized I wasn't a threat, it continued prowling. I watched it often stop, gauge a distance, and squat a few times trying to find the perfect angle and location from which it could successfully make a jump. Sometimes getting it perfect, and sometimes failing, pulling itself up by its web, and trying again. Learning through trial and error seems to definitely cross the bar of intelligent life for me.
It also later directly approached me (after having earlier avoided me) and started crawling on my hands as I typed.
Felt almost like meeting a thumbnail sized cat.
[1] https://en.wikipedia.org/wiki/Delena_cancerides