i am making making a bridge circuit for sine wave inverter. But it was working fine when I applied a Square wave signal of 10kHz but when i apply pwm signal it is not giving a sine wave

i am using the above circuit
i am applying pwm signal (pink and blue) to high side and square signal (yellow and green) to low side
this is output on high side of mosfet driver with reference to Vs pin
output of H-bridge circuit is like square wave
please find me what is the error
regards

i am using the above circuit
i am applying pwm signal (pink and blue) to high side and square signal (yellow and green) to low side

this is output on high side of mosfet driver with reference to Vs pin
output of H-bridge circuit is like square wave
please find me what is the error
regards