Knowledge or Reasoning? A Close Look at How LLMs Think Across Domains