Code indented with tabs looks wildly spread out when you cat it, because terminals put a tab stop every eight columns. That is a terminal setting you can change.
The tabs command sends the escape codes that clear the tab stops and set new ones. For a stop every four columns:
tabs -4
cat Makefile
The file stays exactly as it was. Only the way the terminal draws a tab character changes, for every program that just prints text, like cat, grep and diff. I like it for Makefiles and Go code, which use real tabs.
To go back to the standard eight:
tabs -8
To make it stick, put tabs -4 in your ~/.zshrc or ~/.bashrc. It needs TERM to be set, which it always is in an interactive terminal, so keep it out of scripts that may run under cron.
Programs that draw the screen themselves ignore it. vim uses its own tabstop, less has -x4, and git diff goes through a pager. A new window starts with the default eight again, which is why the line belongs in your shell config.
Further reading: tabs(1) Linux manual page, tabs man page (macOS)