The reality stone can change whatever into whatever, so I guess Thanos just likes changing stuff into bubbles.