Physical Boundary As A Source Of Anomalies In Transport Processes In Acoustics And Electrodynamics