1) pulse signal is rich in high-frequency harmonics, but your simple filter circuit has insufficient bandwidth to filter out the needed harmonics, just like a square wave becomes a triangular wave after passing through an RC circuit, so to broaden the bandwidth of this filter, it is necessary to reduce the time constant;
2) Usually, the pulse signal does not need a filter, but a shaping circuit, such as a comparator circuit;