Mars Attacks was a big enough Hollywood production, I don't think it's a B-movie at all. It's a cult classic, and it intentionally uses B-movie aesthetics for comedic purposes, but it's not a B-movie.
And John Carpenter is such a skilled auteur that even his low-budget classics are considered top-shelf movie magic. Not B-movies at all. They're A-movies that shaped the horror genre.