Please check the accordion content wrapper and make sure you have not set its display value to grid, flex, or block. The accordion script hides and shows that wrapper using display: none, so a custom display value there can override the closed state. Put any grid/flex layout on an inner block or div inside the content wrapper instead.
If it still happens after that, please share the section export or a live link so we can inspect the exact structure and settings.