"Moses… was beautiful before God." The parents gave birth and saw that the child was beautiful, because grace was flourishing in him. Having seen that he was beautiful, they spared him, but, frightened by the decree, they hid him. Fear prevailed; and out of fear they resolved to cast the child away, but out of a feeling of parental compassion they employed cunning in this matter — they contrived to circumvent the decree: having made an ark, in imitation of the ark that existed in Noah's time, and having called upon the God of Noah, they cast the child with the ark into the river, so as both to... appear obedient to the decree and to save the child.
Source: Commentary on Acts