I mean yeah, they always know.
The question is how invovled were they in the attack itself (logistics, access to US surveillance, planning, etc.)
Trump seems to be implying this is "off hands" like he stopped engaging the Houthis in the red sea a while back.
I wonder if this is Netanyahu thrashing a bit in an effort to keep the US invovled, or the US proxying an Iranian attack with more plausible deniability.