You’d foolishly waste your wish on a single kidney, but with that robot the kid can collect thousands of them.
Could…but didn’t.
That could be anyone’s funeral.

Obviously the kid saved dad and then he bought him the robot cosplay suit using the money from the second wish.

The funeral is for someone that passed and loved that robot so the kid attended in the suit to show his respect.

If it was the dads funeral or a close enough relative to share a magic lamp they would be sitting closer in front.

Thank God.