God did not try to kill Moses. The Bible says God met Moses on the way with the intent of killing him. The Hebrew word translated as "sought" is the word בָּקַשׁ (bâqash) and it means "to search out (by any method, specifically in worship or prayer); by implication, to strive after:—ask, beg, beseech, desire, enquire, get, make inquisition, procure, (make) request, require, seek (for)." So God did not try to kill Moses. Moses had sinned by not obeying the commands of God so God was going to punish him accordingly. The Bible is very clear that the wages of sin is death. God was not an abusive parent, He is a just parent. He was going to chastise Moses according to His word.
Now, this reminds me that God should not to be quizzed by you as if you were some district manager and God is some guy whose numbers are down for the month. God is my personal God and He means a lot to me. So that's that.