Obama didn’t “cancel the Space Shuttles.” That decision was (correctly, IMHO) made under GW Bush. The last flights were during the Obama administration. The decision to go with private commercial suppliers was made under Bush as well. Everything in aerospace takes time.
One of the physics profs when I was in school liked the say “it’s intuitively obvious that…” :)