Too many times, we search for a logical explanation. but most of the times, there is no logical answer.
You see, It is better to think, there must be a reason why it did not work.
A way to see it, is to think that this failed attempt was necessary for you to find out something you needed. Maybe just how committed you are in your project and will.
And then, You will get your answer. This always happens.
Ask, Believe, Receive.