Is "Thus, Catalan alfabia "large earthenware jar" and rajola "tile", of Arabic origin, contrast with Spanish tinaja and teja, of Latin origin; whereas Catalan oli "oil" and oliva "olive", of Latin origin, contrast with Spanish aceite and aceituna." a good answer to the question "What is the origin of the Spanish word teja?"
yes