My Confusion Around the Way Homebrew Handles Formulas on macOS

Homebrew is considered macOS's missing package manager. It has an unexpected behavior in how it links and locates some formulas. Here is my mental model of that.