Bubble happens when an actual value of something gets disconnected from its price. When people buy something for ever increasing prices without regard for actual value because they believe the price is going to go up.
In a bubble only the price of that one thing goes up, in relation of everything else.
In an inflation prices are representing the value of products but as value of money decreases the numbers representing prices must go up. In this case the price increase is caused not by increasing demand for the product but rather increasing supply of money.
Printing money causes value of existing money to be diluted because if tomorrow we have twice the amount of money in circulation than today but we are still buying same amount of products and services, then we will need to pay roughly twice the price to keep market equilibrium.