Answer:
When we press it the air passes through it and it compresses but it has definite shape, size ,and volume that's why we consider it is solid. ... When you squeeze it,the solid changes it shape ,but stays the same size. The gas in the holes gets smaller so the entire sponge take up less space.