There are two versions of the story ,the shia version and sunni version. So here you go:
The battle of Jamal was between the Army of the Caliph Ali against the Army of Aisha. There are 2 sides of the story (Sunni & Shiite)
The Sunni side:
The rebels who took over Medina assassinated the Caliph Othman. They demanded that the people in Medina choose another Caliph, & eventually Ali became the one.
Some people in Medina demanded that Ali punish those rebuls who assassinated the former Caliph Othman. But those very rebels joined Ali’s army, so many had figured that Ali has no power. It’s all the decision of Othman’s murderers.
People who demanded justice for Othman’s assassination met in Mecca with Aisha & organized an Army. This Army had too off & went to Basra, Iraq to recruit more solders. Ali took off from Medina & went to Kufa, Iraq to get more recruits before he confront the Army of Aisha.
Ali sent one of his generals to negotiate with Aisha & her top advisers. He succeeded in convincing them to give Ali a chance & not challenging his authority. But the murderers of Othman figured the situation is now so threatening to them. So, in the middle of the knight they killed some of Ali’s solders & shouted Aisha stabbed them in the back before they charged her army.
In Aisha’s army camp, they were suddenly attacked so they figured that Ali had stabbed them in the back. & the battle of Jamal was provoked.
Aisha went on her camel to the battle field in order to stop the fight between the 2 Muslim armies. The murderers of Othman tried every thing to stop her. So, many people were killed on both side.
Shiite side:
Aisha, Talha, & Al-Zubair didn’t want Ali to become a Caliph. They just challenged his authority.
P.S: This is how I have read all about it that is why I have taken this answer to help you curb your curiosity.