I have no idea what AMZN/AAPL earnings will look like, but I don't think they have anything to do with Walmart.
A retail B&M pullback was freakishly obvious. Everyone wanted to shop in person after the pandemic. That created big inventory demand, so retailers piled up huge amounts of physical inventory, then as demand curtailed back to normal they're left with all this excess inventory. Definition of the bullwhip effect.
I think that was pretty in person specific. TGT/WMT/etc ran up because record amounts of people were shopping B&M. But that was temporary. Amazon already had its bullwhip effect last year when the pandemic drove up demand during the pandemic, then everyone went back to shopping in person and they were left with excess inventory.
I think there is more at play here than just retail demand. There's in person demand, online demand, and overall demand. I think it's specifically in person demand we're seeing a pullback on right now because people aren't out specifically trying to shop in person anymore like they were as everything re-opened and got safe again. I'm not sure that means people are shopping less on Amazon or buying fewer Apple products. Maybe I'm wrong.