Most of the ghosts at Hogwarts in Harry Potter seem to either actively enjoy being a ghost or at least not mind it and just carry on doing stuff (like assist the pupils)
That aside, plenty stories have the ghost relive the moments before their death involuntarily, over and over. So for them it’s nothing they can control.
But I’m with you: If I were not trapped in this deathloop (or bound to one location) and were able to be seen by other humans, I would definitely not be gloomy, once I got over the fact that I died and can no longer interact in all the usual ways with my spouse and dogs. Even if I could not do crazy telekinetic stuff, I could at least wander nature, haunt bad politicians and give my spouse inside knowledge, which she can possibly make a lot of money from to buy a house for us.
This is probably the best and most realistic answer here. Just tell them that you’re here to work and not chitchat. I’ve done a similar thing when asked why I don’t take a break so we (my superior and I) could go on break together. I work less than 6 hours so I’m not legally required to go on a 30 minute break.
Smh at a few of those other comments that read more like someone trying to write bad fanfiction.