"Are you going to kill me?" "I'd certainly like to." Anakin attaches himself to Palpatine for 2 reasons: (1) to find the power to save Padme (duh); (2) to end the conflict and bring peace to the galaxy. Anakin doesn't like war, and now that Padme is pregnant, he wants the fighting to stop. Once Anakin realizes Palps is the Sith Lord, I think his PERSONAL allegiance to Palpatine as a friend and mentor is greatly dissipated. It's more of a relationship of CONVENIENCE for Anakin. Remember, he says "I pledge myself to your teachings" - not a ringing endorsement of Palpatine. Then 30 minutes later, he tells Padme he's more powerful than the Chancellor.