I got a 6.5 rate….how?

I got a 6.5 mortgage rate from a lender. Was curious as to how some are able to get a much lower rate than the market vs others. 30 year. No points. 1.2M with 20 percent down.