Is he just scared ?

I'm 18 and found out I'm pregnant. I've always wanted a kid and a perfect life but now my boyfriend started acting fishy after I told him about the news. I'm afraid to be a single parent. Any tips?