People of that time spoke "Aramic", they did not speak Hebrew due to their captivity by the Arabic Babylonians, and they adopted the language over time, but that was not the language or writing used for the 10 commandments. The commandments were written in Proto-Aramic.