did the cowboys also fight with the earps?
Yes, both had interpersonal conflicts and feuds leading to the gunfight
Gunfight at the O.K. Corral
The interpersonal conflicts and feuds 
where did the famous shootout at the okay corral take place Tombstone, Arizona Territory, United States. who was this fight between? Lawmen and members of a loosely organized group of outlaws called the Cowboys what caused the fight to happen? Due to a long-simmering feud, with Cowboys and Town Marshall when did it take place? Wednesday, October 26, 1881 did this fight have a conflicting version of events to it? Yes, many of the sources describing the events leading up to the gunfight, and details of the gunfight itself, conflict with each other who won between the two of them? UNANSWERABLE
wiki:13460719
Gunfight at the O.K. Corral [SEP] Earps versus Cowboys
The interpersonal conflicts and feuds leading to the gunfight were complex. Each side had strong family ties. The brothers James, Virgil, Wyatt, Morgan, and Warren Earp were a tight-knit family, working together as lawmen, pimps, and saloon owners in several frontier towns, among other occupations, and had moved together from one town to another. Virgil served in the Union Army during the American Civil War and in 1877 became a police officer in Prescott, Arizona Territory. He followed that with a job as a night watchman before he became a constable. Wyatt had held two jobs as a police officer in the cattle-drive towns of Wichita and Dodge City, Kansas.