Maybe he's been dreaming. Just check he's ok in case he has hurt himself on something, but some hamsters are more vocal than others
Charlie has only squeaked twice - once when he was scared and once when he hurt himself, but if it's squeaking for no reason he could be just being vocal.