Did you just send an email to company A with "Hey, company B gives me X. Do you have a better offer?" and go back and forth for two weeks?
To have both of these companies compete for you in such a manner your resume must be really impressive. Can you share something else? What field of Computer Science are you in? Machine Learning?
Recruiters are not going to assume that you can enter any FAANG at the highest possible level. It was incredibly lucky from the OP to get 2 offers and at the same time.
Not sure I agree there. I think it could be a deliberate way to engineer the process to create a leverage which most savvy candidates learn to do every time they're on the market. I've been doing this for the past 6 years. It just takes discipline, casting a wide net with a lot of firms in the initial interview process, and being thorough.
The recruiter from the first company to give me an offer, told me it is pretty much non negotiable, "we have a little wiggle room but don't expect much, it's an amazing offer". It was higher than my then salary, but not by a huge margin.
Then company B got back to me with a significantly higher offer both in terms of RSUs (x2) and base salary.
Well, turned out the non negotiable offer was very negotiable after all, and company A quickly upped their offer above company B's. At this stage it just became a back and forth bidding war, that ended after a couple of weeks with two almost identical offers, 50% higher than the initial TC.