Nonlinear wave interactions with fixed and floating bodies leading to unexpected wave impacts