The attachment thing and keeping him from his mother should have been the reason he turned on the Jedi. Also a desire for justice, the Jedi didn’t care about the slaves. And his desiring power. Anakin wants the power to dominate life and the lives of others, and to maintain order through force. He aligns with Palpatine because they agree the Empire is the way to balance chaos. Obi-Wan doesn’t agree he trusts the people and believes in Democracy. He becomes an enemy of the new order.
Join the darkside to save Padme is just idiotic.