You carrots are still hard in the oven because they haven’t cooked for long enough. Cutting them in small pieces is key for having them cook in the time listed on the recipe.