Are gifts morally wrong? If I'm near death is it wrong for to give my assets to my children beforehand, or does it only become immoral if done via a will?

Yes. I get the desire, but gifts of wealth when done at scale contribute to the destruction of society. Quantity is a quality all its own.