Both Vedic Sanskrit and Mycenaean Greek are the same age. Of course there may have been mutual influences as languages take cognates from each other.
But the point is in the strength of said relations in view of understanding the underlying roots in current languages.
There was extremely limited contact between them until thousands of years later, and no real cultural exchange until the era of exploration.