Why do boyfriends DM other girls complimenting how pretty they are?

my boyfriend of 7 years has done this from 2015-2019 and i always asked him why and he always gives me different answers.
Why do boyfriends DM other girls complimenting how pretty they are?
Post Opinion