Re: They managed all that in 5 grams ?
In a market where only a few tags are manufactured at a time, it's actually quite expensive. Satellite tags used to track wildlife movement range in the $1,000-5,000 range (a bit more than a smartphone, in some cases, but significantly more complex - think housing, pressure requirements, etc).
Also, you have to keep in mind that they are NOT manufacturing thousands of tags at a time. Every animal is unique. For example, there are seven species of sea turtles, so you might argue that there should be seven different tags for sea turtles. Heck, if you didn't know better you might even say one is enough. In fact, there are more than seven designs...significantly more.
Your cell phone definitely has a temperature sensor, but whether or not it has a pressure sensor or humidity sensor - I don't know. Pressure sensors are used to tell elevation (birds) or depth (fish/marine). I don't know how applicable that would be in cell phone usage.