That 3rd-party keyboard would also be able to log your Signal messages, so I don't get your point.
Excuses like "the user did something bad" aren't productive.
A warning that the users expectations (secure communications) do not match reality (3rd party keylogged communications) seems like the minimum level of responsibility:
https://maheshikapiumi.medium.com/allowance-of-third-party-k...
If WhatsApp derived information is being seen in advertisements, it is Facebook's responsibility. It is in Facebooks best (next quarters profits based) interests to not be responsible.