I'm sure it says somewhere in the books that it was ironic that Voldemort fulfilled the prophecy because he heard about the prophecy. By attempting to kill the Chosen One (which could have been either of them at that point), he created the Chosen One.