Why did bob ford kill Jesse James?

Bob thought he'd be welcomed as a hero for killing Jesse James . He was treated more as a coward for shooting him in the back.