I don’t have direct experience for Marriott in such a scenario but Amex bookings are handled by Expedia and I’ve read about issues encountered getting hotel benefits/points for bookings through AMEX as they show up as Expedia on the hotel end. It’s best to book direct to avoid issues.
For additional details, see
https://loyaltylobby.com/2022/02/11/...ints-eligible/