I got offer from Amazon 4 years ago but never heard of 2nd on-site.
I also did many interviews at Amazon but never done 2nd on-site.
Since they asked about background/referrals, I think you almost made it, and 2nd on-site might be simply checking the fit one more time…