The Ask toolbar finds its way to your computer through various channels, and as a user you need to be alert while installing free software. The Ask Toolbar and search bar are often bundled with software installers including those from big companies like Oracle.
The Ask toolbar along with the Ask search bar is notorious for hijacking your browser and hampering productivity by redirecting all the traffic to its search engine. It is common for computers to be infected with malware like Ask toolbar.