Jack was in trouble. He was a wanted man, which made things difficult for him. With Sherry's help, he decided to go to Marin City and work with Riyan and others to eliminate the Bean Family once and for all.
Once he accomplished that, he wouldn't have to worry as much and could settle back in Marin City.
Moreover, Riyan and many others were also wanted and had even been arrested, which was extremely troublesome. Jack asked Gorje for help, and Gorje suggested contacting Sofia and working with her. Sofia intervened and managed to get the Bean Family under investigation.
While Jack was focused on resolving these issues, Riyan, frustrated with the situation, decided to take matters into her own hands and kill Patrick. After all, Patrick was a scumbag who had committed countless evil deeds, so she felt no guilt about ensuring his death in a car accident.