Deductions & credits

Thank You. I was wondering why I got the 1099-S. Is it because I sold the house after I bought the other one?