Permanently Deleted
Cowboys were pretty diverse and idk how much the occupation itself was behind the expulsion of Native Americans. The white cowboy fighting Indians probably came out of a revisionist mythology of the old west and golden age of Hollywood.
Book recommendation is The Great Cowboy Strike: Bullets, Ballots & Class Conflicts in the American West by Mark A. Lause. Goes over how cowboys were often exploited and lower classes, and successfully organized strikes.