Have you checked the player ratings? Who underperformed in both matches?

Did you set normal or attacking?

Also look at the first 11 rating not the squad rating. That's a better indication of who is stronger.

4-3-3 is a counterattacking formation. My guess is they got you on the counterattack.