People who refuse to let you pass them on a highway

Example: I was on a long drive earlier, the roads were relatively empty and I had my cruise control set. I was steadily catching someone in the other lane. As soon as I got close they sped ahead and then slowed after they got a little bit away. This repeated several times. Is it an ego thing?