In which states of matter can an object change both volume and shape?
A. Gas and plasma
B. Gas and liquid
C. Liquid and plasma
D. Liquid and solid