>>4237863
As far as I understand, it was made in parallel with the manga, just like many anime originals like YoruKura get a contemporary manga/LN adaptation that more or less follows the same storyline, but with some differences.