The drupal.collapse library is disabled in bootstrap.info.yml:
# ... libraries-override: core/drupal.batch: bootstrap/drupal.batch core/drupal.collapse: false # ...
<details> elements will not receive core's polyfill and aria assets, defined in drupal.collapse.
Bootstrap has a js/misc/collapse.js asset, but it is not added in info.yml or libraries.yml, so it does not load anywhere.
Override core collapse.js with Bootstrap's version:
libraries-override: core/drupal.collapse: js: misc/collapse.js: js/misc/collapse.js