Even if you have no contractual obligation to listen to your coworkers, in general many people enjoy, and potentially expect, to become closer with their coworkers which is generally accomplished through sharing personal details and emotions. It's totally fine if you don't want to participate, (and it's possible for people to over-rely on others for emotional labor) but I think many other people are more productive when they're more than just acquaintances with their coworkers.