101Leafy researched the games.

Thwomp

ドッスン

English
Thwomp (name from earlier games)
Japanese
ドッスン
Courses the book names
Sunbaked Desert Palace, Petal Isles SP: Fly! Goomba Training Ground
Worlds
Sunbaked Desert, Special World
Book page
p47

From the guide book

Drops from the ceiling when you come close, then rises back. As a rule it cannot be beaten. Standing on it hurts, though you can ride it while turned into a Goomba.

スーパーマリオブラザーズ ワンダー かんぺき攻略本 (KADOKAWA, 2023) p47, our translation

Bulrush · Tobi