By default, when Pardot syncs a prospect, Pardot looks for contacts with a matching email address as first priority. If it doesn't find any, it will look for a matching lead to sync with. If it doesn't find one of those, either, it will create a lead. For more details -> https://help.salesforce.com/articleView?id=000273582&language=en_US&type=1