The final example though, where a Crow returns the camera-lens cap to the family requires some pretty advanced thinking. We know that Crows recognize human faces and expressions, and communicate these facts amongst each other.
Crows / Ravens are the only creature aside from Humans who perform meta-tool use. They can use tools to grab tools to accomplish a goal. In many ways, they're smarter than (non-human) primates, and are probably the 2nd smartest animals on earth.
https://en.wikipedia.org/wiki/New_Caledonian_crow#Meta-tool_...
Birds in general are pretty smart (see Pidgeons, Parrots, etc. etc.) However crows / ravens are on a completely different intelligence level. Crows break nuts by dropping them on the asphalt... timing their drops during red lights so that traffic doesn't hit them.
Besides, gift-giving is seen in far dumber animals than crows. Dogs, Cats, Penguins... they don't have the intelligence of Crows but they understand gifts and social situations.