Harry had no idea how it was possible, however it didn't really matter. What mattered was that they were there and he would do anything to protected them. Even if that meant siding with Voldemort. Even so, he was sure that he had been suffering from temporary insanity, how else could he explain how they came to be? Yes, temporary insanity was the only possible answer.