Left aligned vs. versus aligned chat messages

I was looking for answer through whole internet but didn't find any logical solution. Basically, I'm designing something related with chat app and my main problem is, which messages alignment should I use. I noticed that Slack uses left-aligned messages for both users. However Messenger or Whatsapp prefers versus-aligned messages. Is there any UX explanation for both approaches?

Thank you