Thanks for your reply. Before seeing your comment, I changed the resistors in my voltage divider circuit from 100 ohm to 100k ohm, and the problem has been resolved. Then this is now what the wave looks like:

Normally, as long as identical resistors are used, resistance value shouldn't matter. I don't know what the reason is. What is your opinion?