What is the difference between something ostentatious and something pretentious?

Something ostentatious is showy and expensive, but it can also be seen…