The way I see it there's a cohort of Black people in America who have inherited a generational lagacy of discrimination and disenfranchisement. These are "African" Americans in the sense that their ancestors came (or were brought) from Africa, and whose descendants were born into this legacy of racist oppression. It's these people represented by the figure of speech, "African Americans".
White Africans don't share this experience and generational legacy. First generation immigrants and their children don't share this experience. Especially affluent and successful immigrants and their children.
Thus it seems to me that it's a kind of stolen valor, when people like Obama, Harris, and Mamdani claim the African American identity. They don't share the experience, nor have they inherited the legacy of disenfranchisement, that characterizes what we mean by "African American".