The fast food giant said economic uncertainty sparked by tariffs is weighing on its customers and hurting in-store traffic.