RAS is a (class of) proteins in the membrane of your cells that are important in telling cells when it is time to grow. These proteins cycle between an "active" state that stimulates growth and an "inactive" state that doesn't. An extremely common genetic mutation that happens as a person develops cancer causes some of these cells to start making RAS proteins that do not correctly switch back to the "inactive" state. The cells with these mutations then grow and divide very rapidly and can become a tumor. Daraxonrasib works by binding the active state RAS proteins and preventing them from signalling and triggering growth. This can help prevent the tumors from growing further and potentially even shrink them as they are attacked by the immune system or other medication.
(I'm not an expert, just a fan of knowing how things work, anyone can correct me if they know better)