Yeah, either there was a purpose for raising him (miracles are always good) or perhaps he died as a catechumen who didn't desire to be baptized. I don't think that the Church teaches all catechumens are in a position to receive a BOD, only that they are able to.
This story is not a proof that BOD is contrary to Catholic teaching.