Resistance to the medications develop when there is just enough medication in the body to "selectively pressure" HlV to change it's genetic sequence, called a mutation, but not enough to suppress the virus. 