Can be for several reasons, first they are still very young and young individual tend to be more defensive and strike.
The strike after the feeding is no surprise snake can stay in feeding modes hours after being fed so in the future try to avoid messing around the enclosure soon after feeding or even before.
Now if the behavior persist there could be several reasons, stress, amount of food not being adequate, husbandry problems.
How often and how big of preys do you feed?
How big is the male's enclosure? Do he have tights hides? What are the temps?
How often do you handle him?