After the birth of her children Luke and Leia. Anakin was expelled from the Jedi order and Luke was taken away from her to become a Jedi. Padmé wasn't allowed to see Luke after the day he was born because Jedi can't get attached to their family. And because the Jedi took over the senate she also lost her job. She decided to help Boba and Kaas to bring back democracy in the galaxy.