Yeah, that or either of the ends is compromised by one of the various commercial spyware which offers zero-click installation of their software or the person you're talking to is intentionally recording the messages.
End-to-End encryption only protects you from someone eavesdropping on the communication on the line. It doesn't secure the endpoints or make the participants trustworthy.