A scientist with Curtin University says he has solved the mystery of how glass found in the Egyptian desert was formed.