Often times, applications are created with an emphasis being placed on shortness of development time; performance is not looked at until fairly late in the game, and at that point rectifying the situation can and often does prove costly in terms of resources.
Even more importantly, little thought is often given to the underlying data structures used by the application, which often have considerable performance ramifications down the road.