They die for two reasons.
1) the harsh method by which they are collected using cyanide to stun them from the wild as explained above.
2) pet stores typically don't want algae on their glass and so clean it off meaning the Ottos don't get any food and starve to death in the store. Make sure you don't clean the algae on your tank too well!