Infective endocarditis is the most general, 'upstream' term. Bacterial endocarditis is IE...caused by bacterial infection. IE is most often acute and subacute. Acute being Staph aureus on previously normal valves in (usually) IV drug-user; subacute is Strep viridans (mutans/sanguis) on previously abnormal valves (e.g. MVP, congenital HD).
Libman-sacks is SLE on mitral valve and causes MS. 99% of MS is prior RF but 1% is LS. LS is verrucous and on both sides of valve; IE is large, floppy and friable, not necessarily on both sides.
HACEK organisms are culture-negatives and are more just Qbank talking points rather than something the real USMLE actually cares about.
Marantic endocarditis (or non-bacterial thrombotic) is often from malignancy; that creeps into questions and is HY.