Why did Trump change from pro-choice to pro-life back to pro-choice then back to pro-life?

He was pro-choice before he ran for president in 2016. Then he was pro-life, now he said his administration will be great for "women's reproductive rights." He went from saying Florida's abortion ban after 5 weeks was to extreme to supporting it.

Why did Trump change from pro-choice to pro-life back to pro-choice then back to pro-life?
Post Opinion