Obviously, Trump was not there. His wife was.
But if you want to go down a rabbit hole, start researching whether a sitting President normally attends the funeral of a former First Lady. They don't. It's an American tradition. A tradition of treating women as second class citizens.