Was it sick, and were the objects slightly coneshaped? If so, chances are, your Tamagotchi pooped everywhere. The reason I added in sickness was because, if it pooped as much as I think it did, there's no way it could've still been healthy. Unless it was sleeping, though it'd probably still end up sick.
If that's not what happened, though, then I don't know.