macOS Tahoe switches the method for rendering of macOS icons. Developers are expected to use Icon Composer to layer icons in a way that makes them compatible with Liquid Glass, otherwise the icon renders with a gray border.
Liquid-Glass-compatible icons will render without the gray border.
Attached is a sample ICNS file from IntelliJ that renders properly: idea.icns.zip