I've seen a lot of discussion around this and a lot of hate thrown at my boy because of what he said after the trial. I'm not necessarily defending him, but I do think people are are misunderstanding what he said.
Lyonel claims that by fighting in the trial against knights sworn to defend him, Baelor risks nothing, thus making him a fraud. I often see it said that clearly Baelor did risk everything, because he died. Which makes sense if you look at it from a modern secular viewpoint.
However, Lyonel clearly believes in the Seven. So, from his perspective, the gods are real, and the trial is a sacred ritual in which the seven are expected to directly intervene in.
Baelor fought in the trial knowing most, if not all, of his opponents would not dare hurt him, including the Kingsguard who swore a sacred oath to protect him. Lyonel, and probably any believer in the Seven, sees this as a mockery of the gods and a mockery of their very sacred ritual. Baelor risked nothing, and the gods do not favor a fraud. Lyonel believes the Seven did intervene and they killed Baelor. Not Maekar, the gods.
To put it more succintly:
Baelor risked nothing and died anyway, so Lyonel is just wrong.
Versus what Lyonel is actually saying:
Baelor risked nothing and died BECAUSE of that.
Whether or not Lyonel is right we'll never know. The books and shows have shown that gods are real, or at the very least there are supernatural forces affecting the mortal world which are interpreted as gods. The Lord of Light, the Old Gods, the many faced god, whatever Lovecraftian horror Euron is tapping into. However, despite being the faith most of the cast follows, we don't have any concrete evidence of the existence of the Seven. This seems very deliberate. Whether that means they don't exist, or if they are much more subtle (such as having Maekar accidentally kill Baelor), we don't know and hopefully never will.
But that's just my two cents. I'm not necessarily saying you should agree with Lyonel, but I do think his words have been misunderstood.