Had a quick skim of the tutorial – and see it’s gone a route I had no idea about but saw this in the comments
“For everyone wondering why the curve bends in a weird way when you rotate the bones: When assigning the hooks to the curve points, you need to select the two corresponding handles too! It seems to be a thing for the newer Blender Versions”
Are you just watching this tutorial without any foundational knowledge of rigging? If so then my advice would be to take the Core Rigging course and try and properly understand armatures and bones before you go any further as there’s a lot to it. I’ve just completed it and the first thing I thought was ‘why aren’t you using bendy bones’. I have no idea about the hook modifier. What’s your use case for this? It might be alot easier to just set the curve as you want it manually