It's a deliberate choice to create a film that prominently features Black characters and culture. I have worked in marketing in a large corporation for a decade; it would be foolish for anyone to think that something of this magnitude by a company this big isn't 100% premeditated down to every last detail. The marketing is intentional. Obviously it isn't *only* marketed to Black people; it's Disney. They are harnessing identity politics and the shifting public tide toward insisting upon more diversity in the industry to reel in people of all shades--while cherrypicking the aspects of Blackness that are most conducive to their agenda in order to accomplish this.
Technically the Proud Family was marketed to everyone too (and many of its viewers were not people of color); marketing to a broad audience doesn't mean you aren't particularly catering to one, or that you aren't leveraging the interests/appeal of a specific audience in order to appease and generate interest among a broader set. Ffs.