When a set of opponents is provided, either at the start of a new Squad Battles competition or when you perform an Opponent Update, the game always provides one Squad from each of the three Squad difficulty buckets: Easy, Medium, and Hard.
Then it selects the fourth Squad from the Easy or Medium buckets, with a 50% chance of the Squad coming from either bucket.