The system will update a ".bash_history"
It is bash itself that update .bash_history probably because you are using bash as default shell. This is normal behavior. Every time you terminate a bash shell session the .bash_history is updated. You can "redirect" the history to /dev/null setting the environment variable HISTFILE to /dev/null.