It’s not actually a bad thing to have some filtering on a digital signal.
A “pure” square wave has infinite energy across the entire frequency spectrum, and thus can’t actually exist in physics.
If you try to drive a wire with a sharp rise time, you will use a lot of current, and generate a lot of EMI.
Meanwhile, the receiving end only has a certain dependency on rise times (slew rates) of signals. If you run your bus at 1 megabit Manchester (UART, CAM, SPI, I2C, etc) then any rise time shorter than about 0.1 microsecond will just be wasted.
Note that the receiving end will have some capacitance, and the wire will have some resistance and inductance of its own, so you will never see a perfectly sharp rising edge on an oscilloscope hooked to a physical wire.
The inductors are a common way of making sure that the wires outside the circuit board don’t have TOO much high-frequency energy, and thus radiate too much EMI into the spectrum. Doing so could interfere with all kinds of radio equipment and even with other circuits that could pick up stray EMI with traces that also work as antennas.