ill make it as easy for you as possible too.
I read both verse. I take both to be metaphor. I dont say Jesus a.s raised dead by his own. He did it by Allah’s leave. What is that Allah’s leave? The guidance Allah has given to Isa a.s likr other prophets…the true revelations he received from God by which noble souls accepted Him and were hence raised to life by Allah’s leave.
What i’m saying is..everything is by the will of Allah. Prophets do everything with the will of Allah. There is no way you can take this verse and interpret ‘raise dead’ as literal for this verse and other verses to take it as metaphors. Has Muhammad pbuh not given life ? What about 2:260? How did Allah show Abrahim a.s how He raise the dead? Its all metaphors which your wrongly take to be literal, thereby knowingly committing shirk.
You are also creating contradiction in Quran as i said this many many times. Quran says Allah alone will raise dead. Islamic belief is when one dies he doesnt return. Allah says he alone is the khaliq. You are saying no one else cud do all of these except Jesus a.s ( then you say by Allah’s leave ) ..im saying even spiritually raising is done by Allah’s will as he says he guides whomsoever he wishes.