Unfortunately, refusing to talk to the police makes it vastly more probable that you are involved in criminal activity. So, while you are perfectly within your rights, the police are doing their job to regard you with an extra level of suspicion. To do otherwise would be incompetence.