Good question, I wonder that too.
Usually it's because part of your order is not done yet, but they've already packed the other parts of your order into your bag. Thus, the foods that were done start getting cold (usually the fries) while the last part of your order is dragging your wait time out.
Thanks! Your answer is awaiting moderation.