Setting the domain is not mandatory.
It's used to stop cookies being sent all over the place, but can be left out.
If a cookie has no domain set, it get's sent with every request to any site.
That's why cookies are sometimes considered a security risk.
If amazon doesn't set a domain on the cookie, the cookie becomes available to anyone.
But, Amazon could also be setting several cookies, one for each domain that needs the cookie...