The insulin we inject for bolus works at the same speed unlike the food we eat - the carbs from different foods are absorbed at different rates. For example, we take jelly babies to treat a hypo because the carbs are absorbed very fast. In contrast food with a high fat content such as chocolate or curry or pasta, especially with a fatty sauce, are absorbed slowly.
When I eat pizza, I find the high fat content and the high carb content can cause my levels to keep rising 5 or 6 hours after eating.
The way to overcome this is to split my insulin. I have about a quarter when I start eating and the rest a few hours later.
Unfortunately, you need to trial and error to work out the ratios and timings for your pasta. but splitting the insulin is the way to go.
Another thought about your hypo - what insulin do you take and what are your levels like when you take it?
The reason I ask is that I use Fiasp. This works great for me as a very fast acting bolus. However, I have found the speed at which it works seems o be dependent upon my blood sugar levels. If I was to take it when my levels are in the 4s, I will hypo straight away; if I was to take it when my levels were around 10, it could take nearly an hour to see them start to move. As I result, I have to take my starting blood sugar into consideration when timing my insulin.