You shouldn't ignore your coworkers.
Bob is at the office trying to get some work done but his coworker keeps asking him questions.
Bob wants to not answer any more of his coworkers questions.
Bob tells his coworker that he can't answer any questions because he has to do some work, so they leave him alone.
Bob doesn't respond to his coworker's questions and just stares ahead and continues working as if he can't hear them.
Bob's coworker understands that they are being a distraction to Bob, and they try to respect work boundaries more.
Bob's coworker thinks Bob's behavior is strange and cold since he's not responding to them although he can clearly hear them.