This article does a good job explaining the backstory. Everyone in the Obama Administration wanted Shokin, the corrupt former head prosecutor of Ukraine, gone. Foreign aid supplied the leverage needed. Biden was assigned to deliver the message.
Biden was in no way the architect of this policy, and it had nothing to do with Biden’s son, who wasn’t under investigation then or ever.
https://www.google.com/amp/s/www.nytimes.com/2019/11/10/us/politics/joe-biden-ukraine.amp.html
Trumpists take note, this is how you properly exercise foreign aid as a tool of diplomacy.