The cocoon below contains the larvae of a hornworm, most likely the Five Spotted Hawkmoth, and is a major pest of Tomato crops particularly. No way to know what it is exactly until it hatches. The larvae can be about two inches long, and almost a centimeter wide. Usually it is green with small white or yellow stripes along the side, but there are varying colors. For some pictures of the larvae, check here. Once the larvae have had their fill of the plant, they burrow into the ground and form a cocoon. Recently, my dad found one buried in the loose dirt near his tomato plants.
Lepidoptera; Bombycoidea; Sphingidae; Sphinginae; Sphingini; Manduca
Common Name: Tomato Hornworm/Five-Spotted Sphinx Moth (?)
I will update once it hatches - until then, it shall remain mostly a mystery. I can be certain it is of the genus Manduca at least, considering the cocoon type and its location. The cocoon is about two inches long, and the loop on one end contains the developing proboscis of the moth. When disturbed, it wriggles its pointed end.