It is because the Y was a character called 'thorn' and it symbol was Y drawn as a stick, pronounced the like the 'th' in the and thorn. Also s got reversed and became the z we know today. This article was written by someone who knows noYing.
It’s eth (voice on, like in pronouncing “that”).
Icelandic still uses both, didn’t replace both with ambiguous “th”.