It's called a non-newtonian fluid, and you can make some yourself by mixing corn starch and water.

Non-Newtonian fluid - Wikipedia, the free encyclopedia