The actual difference
Compare the job each one does.
Building permit: Can this construction be approved under the Building Code and applicable law?
Zoning: Is this use, size, height and location allowed on this property?
Building permit: Plans, specifications, forms and required approvals.
Zoning: Property zoning, proposed use, dimensions, setbacks and site statistics.
Building permit: No. A permit does not waive zoning.
Zoning: No. Zoning compliance does not replace a required building permit.
Building permit: Starting work because the project “looks simple.”
Zoning: Assuming “no building permit” means there are no location or size rules.