Episode III - Revenge of the Sith seemingly implied a potential explanation. According to Palpatine, his mentor Darth Plagueis had learned how to manipulate the midi-chlorians to create life.