Why would my ex's best friend test me as a friend but only when he's with my ex?

He says he is trying to be my friend and texts me to check in every few days. I can see when he and my ex are online playing video games together. If they are not together, I won't hear from him. A little sus?
Why would my ex's best friend test me as a friend but only when he's with my ex?
Post Opinion